package opl.tables;

import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;

public interface ITable {

	void createTable(SQLiteDatabase db);
	void dropTable(SQLiteDatabase db);
	long insert(ContentValues cv, SQLiteDatabase db);
	long update(ContentValues cv,String condition, SQLiteDatabase db);
	long delete(String condition, SQLiteDatabase db);
	Cursor select(String condition, SQLiteDatabase db);
	Cursor select(String condition,String orderBy,String limit,SQLiteDatabase db);
}
